const defaultState = {
  hidden: false,
};

const reducer = (state = defaultState, action) => {
  switch (action.type) {
    case "footer_hidden":
      return { hidden: action.hidden };
    default:
      return state;
  }
};

export default reducer;
